export interface Page {
  /**
   * 标题
   */
  title: string;

  /**
   * 唯一标识
   */
  name: string;

  /**
   * 图标
   */
  icon?: string;

  /**
   * 组件
   */
  component: () => Promise<any>
}

let arr: Page[] = [
  {
    title: "首页",
    name: 'Home',
    icon: require("@/assets/pages/sy.svg"),
    component: () => import("@/views/pages/Home")
  },
  {
    title: "门店管理",
    name: 'Cmp',
    icon: require("@/assets/pages/sy.svg"),
    component: () => import("@/views/pages/Cmp")
  },
  {
    title: "员工管理",
    name: 'BizUser',
    icon: require("@/assets/pages/sy.svg"),
    component: () => import("@/views/pages/BizUser")
  },
  {
    title: "卡券模板",
    name: 'ECardRule',
    icon: require("@/assets/pages/sy.svg"),
    component: () => import("@/views/pages/ECardRule")
  },
  {
    title: "运维人员管理",
    name: 'MgrUser',
    icon: require("@/assets/pages/sy.svg"),
    component: () => import("@/views/pages/MgrUser")
  },
  {
    title: "视频挂载",
    name: 'DyVideo',
    icon: require("@/assets/pages/sy.svg"),
    component: () => import("@/views/pages/DyVideo")
  },
]

/**
 * 被放到 第一个的  默认就是  首页
 */
export default arr